import obj1 from '@/utils/request'
export const regAPI = data => {
  return obj1.post('/api/reg', data)
}
export const loginAPI = data => {
  return obj1.post('/api/login', data)
}
export const getUserAPI = () => obj1.get('/my/userinfo')
